package org.tailor

import org.hsqldb.persist.TextCache.ByteArray;

class Fabric {
    long fabricID
    String fabricName
    String description
    int imported
    BigDecimal price
    int code
    String fabricType
    Date date
    String regionUsed
	byte[] fabricPicture
    //static belongsTo= Shirt
	//List fabric
     
    
    static constraints = {
        fabricID(blank:false, unique:true)
        fabricName(blank:false)
		fabricPicture(maxSize:50000000)
    }
    
}
